<include file="Public:pageheader" />
<table id="mytable" cellspacing="0" align="center">
<caption>Tag : {$Think.lang.list_hold}</caption>


<body>
<ul id="side_menu">

<li><a href="#">[+] 寄存区域列表</a>


<ul id="a2">
<volist name="districtname" id ="v">
<li><a href="__URL__/hold/id/{$v.id}">{$v.name}</a></li>
</volist>
</ul>

</li>

</ul>

</body>
<script type="text/javascript">
/*=======================树状菜单开始====================*/
//该菜单支持无限级数,增加级数方法:三级时level赋值5,以后每增加一级level值增2
//套用该函数只需在树状菜单根节点上使用id="side_menu",列表需使用UL
/*===================================================*/
var level = 5;
var n = level;

//判断该对象是否包含于side_menu中
function isInSideMenu(obj)
{
if(n)
{ 
n--;
if(obj.getAttribute&&obj.getAttribute("id")=="side_menu")
    {n = level;return true;}
if(obj.nodeType==9)
    {n = level;return false;}//超过当前文档树结构时返回false
else
    {return isInSideMenu(obj.parentNode);}
}
n = level;
return false;
}

//菜单折叠效果函数
function foldMenu()
{
if(this.nextSibling&&this.nextSibling.nextSibling)
{
    if(this.nextSibling.nextSibling.style.display=="block")
     {
      this.nextSibling.nextSibling.style.display ="none";
      this.innerHTML = this.innerHTML.replace("-","+");
    }
   else
    {
     this.nextSibling.nextSibling.style.display ="block";
     this.innerHTML = this.innerHTML.replace("+","-");
    }
}
}

function intSideMenu()
{
var as = document.getElementsByTagName("a");
var sidemenuUL = document.getElementById("side_menu");
var uls = document.getElementsByTagName("ul");
for(var i=0;i<as.length;i++)
   {
     if(isInSideMenu(as[i]))
      {
       as[i].onclick= foldMenu;
      }
   }//给所有树状菜单内的a绑定foldMenu函数

for(var j=0;j<uls.length;j++)
{
    if(isInSideMenu(uls[j]))
      uls[j].style.display ="none";//初始化隐藏树状菜单
}
sidemenuUL.style.display = "block";//显示根菜单
}
intSideMenu();
</script>



</table>
<include file="Public:footer" />